package com.wxyzz.canteenadmin.order.orderList.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class OrderListVo {
    private Long orderId;
    private String memberName;
    private String orderType;
    private String shopName;
    private Double totalAmount;
    private String paymentStatus;
    private String distributionStatus;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    private Date orderTime;
    private Double paymentAmount;
    private Double discountAmount;
    private Integer points;
    private String orderStatus;
    private String remark;
    private String orderNumber;
}
